/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.vce.election.domain;

import com.vce.*;
import java.sql.Blob;

/**
 *
 * @author Ggutierrez
 */
public class Party implements Persistent {

    private Long id;
    private ElectionType electionType;
    private String inititals;
    private String name;
    private int stall; // numero de casilla
    private Blob partyImage;

    public Party() {
    }

    public Party(ElectionType electionType, String inititals, String name, int stall) {
        this.electionType = electionType;
        this.inititals = inititals;
        this.name = name;
        this.stall = stall;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public ElectionType getElectionType() {
        return electionType;
    }

    public void setElectionType(ElectionType electionType) {
        this.electionType = electionType;
    }

    public String getInititals() {
        return inititals;
    }

    public void setInititals(String inititals) {
        this.inititals = inititals;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getStall() {
        return stall;
    }

    public void setStall(int stall) {
        this.stall = stall;
    }

    public Blob getPartyImage() {
        return partyImage;
    }

    public void setPartyImage(Blob partyImage) {
        this.partyImage = partyImage;
    }
}
